<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Autotest::Rspec</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Autotest::Rspec</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/vendor\plugins\rspec/lib/autotest/rspec_rb.html">
                vendor\plugins\rspec/lib/autotest/rspec.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                <a href="../Autotest.html">
                Autotest
               </a>
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000059">add_options_if_present</a>&nbsp;&nbsp;
      <a href="#M000057">consolidate_failures</a>&nbsp;&nbsp;
      <a href="#M000055">failed_results</a>&nbsp;&nbsp;
      <a href="#M000056">handle_results</a>&nbsp;&nbsp;
      <a href="#M000058">make_test_cmd</a>&nbsp;&nbsp;
      <a href="#M000060">spec_command</a>&nbsp;&nbsp;
      <a href="#M000061">spec_commands</a>&nbsp;&nbsp;
      <a href="#M000054">specs_for_file</a>&nbsp;&nbsp;
      <a href="#M000053">tests_for_file</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000059" class="method-detail">
        <a name="M000059"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000059.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000059.html');return false;">
          <span class="method-name">add_options_if_present</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000057" class="method-detail">
        <a name="M000057"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000057.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000057.html');return false;">
          <span class="method-name">consolidate_failures</span><span class="method-args">(failed)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000055" class="method-detail">
        <a name="M000055"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000055.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000055.html');return false;">
          <span class="method-name">failed_results</span><span class="method-args">(results)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000056" class="method-detail">
        <a name="M000056"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000056.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000056.html');return false;">
          <span class="method-name">handle_results</span><span class="method-args">(results)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000058" class="method-detail">
        <a name="M000058"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000058.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000058.html');return false;">
          <span class="method-name">make_test_cmd</span><span class="method-args">(files_to_test)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000060" class="method-detail">
        <a name="M000060"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000060.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000060.html');return false;">
          <span class="method-name">spec_command</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Finds the proper spec command to use. Precendence is set in the
lazily-evaluated method <a href="Rspec.html#M000061">spec_commands</a>.
Alias + Override that in ~/.autotest to provide a different spec command
then the default paths provided.
</p>
        </div>
      </div>

      <div id="method-M000061" class="method-detail">
        <a name="M000061"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000061.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000061.html');return false;">
          <span class="method-name">spec_commands</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
<a href="../Autotest.html">Autotest</a> will look for spec commands in the
following locations, in this order:
</p>
<pre>
  * bin/spec
  * default spec bin/loader installed in Rubygems
</pre>
        </div>
      </div>

      <div id="method-M000054" class="method-detail">
        <a name="M000054"></a>

        <div class="method-heading">
          <span class="method-name">specs_for_file</span><span class="method-args">(filename)</span>
        </div>
      
        <div class="method-description">
          <p>
Alias for <a href="Rspec.html#M000053">tests_for_file</a>
</p>
        </div>
      </div>

      <div id="method-M000053" class="method-detail">
        <a name="M000053"></a>

        <div class="method-heading">
          <a href="Rspec.src/M000053.html" target="Code" class="method-signature"
            onclick="popupCode('Rspec.src/M000053.html');return false;">
          <span class="method-name">tests_for_file</span><span class="method-args">(filename)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>